package com.one.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("elective_class_course_user")
@ApiModel(value="elective_class_course_user视图对象")
public class ElectiveClassCourseInfo implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "教师编号")
    @TableField("ceach_code")
    private String ceachCode;

    @ApiModelProperty(value = "班级编号")
    @TableField("cls_code")
    private String clsCode;

    @ApiModelProperty(value = "课程编号")
    @TableField("course_code")
    private String courseCode;

    @ApiModelProperty(value = "开设时间如：大三上，此字段要与批次编号对应")
    @TableField("stu_time")
    private String stuTime;

    @ApiModelProperty(value = "总学时")
    @TableField("period")
    private Integer period;

    @ApiModelProperty(value = "总学分")
    @TableField("credit")
    private Integer credit;

    @ApiModelProperty(value = "上课地点")
    @TableField("class_room")
    private String classRoom;

    @ApiModelProperty(value = "如：16，就是16周")
    @TableField("durs_week")
    private Integer dursWeek;

    @ApiModelProperty(value = "教师姓名")
    @TableField("username")
    private String username;

    @ApiModelProperty(value = "班级姓名")
    @TableField("classname")
    private String classname;

    @ApiModelProperty(value = "课程名称")
    @TableField("coursename")
    private String coursename;


}
